import { ref } from 'vue';
// 定义自定义组合式函数useCounter
const useCounter = () => {
    const count = ref(10);
    const increment = () => {
        count.value++;
    };
    const decrement = () => {
        count.value--;
    };
    console.log('你好热重载111');
    
    return {
        count,
        increment,
        decrement
    };
};

export default useCounter;
